package com.dries.portal.module.portal.vo;

import com.dries.portal.module.portal.entity.DiscussReply;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * @Description: 评价详情
 * @Author ZSY
 * @createTime 2020/8/7 14:47
 */
@Data
public class DiscussDetailVo {
    /**
     * 评价表关联ID
     */
    private Integer discussId;
    /**
     * 用户评价ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 用户头像
     */
    private String userAvatar;
    /**
     * 用户昵称
     */
    private String userNickname;
    /**
     * 评论标题
     */
    private String discussTitle;
    /**
     * 评论封面
     */
    private String discussCover;
    /**
     * 点赞数
     */
    private Integer discussLikes;
    /**
     * 评价详情
     */
    private String discussDescription;
    /**
     * 评价图片
     */
    private List<String> discussImgs;
    /**
     * 评分
     */
    private Integer discussRanking;
    /**
     * 评价浏览量
     */
    private Integer discussPageView;
    /**
     * 店铺ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long shopId;
    /**
     * 用户评价回复表
     */
    private List<DiscussReply> replies;

}
